import turtle

turtle.hideturtle()
turtle.pensize(5)
turtle.color("red", "green")

n = 6
len =100
angle = 360/n

for i in range(n):
    if i > 0:
        turtle.forward(len)
        turtle.right(angle)

    for _ in range(n):
        turtle.forward(len)
        turtle.left(angle)